﻿·<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="tp.ascx.cs" Inherits="Jxym.wlkc2011.tp" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<style type="text/css">
    .paginator { font: 12px Arial, Helvetica, sans-serif; padding: 10px 20px 10px 0; margin: 0px; }
    .paginator a, .paginator .cpb { padding: 1px 6px; border: solid 1px #ddd; background: #fff; text-decoration: none; margin-right: 2px; }
    .paginator a[disabled=disabled] { display: none; }
    .paginator a:hover, .paginator .cpb { color: #fff; background: #ffa501; border-color: #ffa501; text-decoration: none; }
    .paginator .cpb { background: #ffa501; border: solid 1px #ffa501; }
    .box_pic { height: 280px; }
    .box_pic .title { width: 100%; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
</style>
<asp:Repeater ID="Repeater1" runat="server">
    <ItemTemplate>
        <div class="box_pic">
            <a href="<%=_siteName%>_content<%#Eval("ID")%>.htm" title='<%#Eval("Title")%>'>
                <img src='UpFiles/<%=_siteName%>/<%#Eval("ViewPhoto") %>' class="img_bg" /></a>
            <p class="title">
                <a href='<%=_siteName%>_content<%#Eval("ID")%>.htm' title='<%#Eval("Title")%>'>
                    <%#Eval("Title")%>
                </a>
            </p>
            <p class="cc">
                <%#Eval("FromW") %>
            </p>
        </div>
    </ItemTemplate>
</asp:Repeater>
<div class="clear">
</div>
<div class="paginator" style="text-align: center">
    <webdiyer:AspNetPager ID="AspNetPager1" CssClass="paginator" CurrentPageButtonClass="cpb"
        runat="server" AlwaysShow="True" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
        PageSize="16" PrevPageText="上一页" ShowInputBox="Never" OnPageChanged="AspNetPager1_PageChanged"
        CustomInfoTextAlign="Left" LayoutType="Div" CurrentPageButtonPosition="Center"
        PageIndexBoxType="TextBox" ShowPageIndexBox="Auto" SubmitButtonText="Go" TextAfterPageIndexBox="页"
        TextBeforePageIndexBox="转到" UrlPaging="True">
    </webdiyer:AspNetPager>
</div>
